/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package drivetrain;
/**
 * Drivetrain for InternalCombustionPropulsionUnit. Determines the final gear ratio.
 * @author Vekjeft
 */
public class DriveTrain{
    private float finalRatio;
    /**
     * Constructor when finalRatio is set later
     */
    public DriveTrain(){
    }
    /**
     * Constructor when finalRatio is set during construction
     * @param finalRatio the final gearing of the drivetrain
     */
    public DriveTrain(float finalRatio){
    this.finalRatio = finalRatio;
    }    
    /**
     * 
     * @param finalRatio the final gearing of the drivetrain
     */
    public void setFinalRatio(float finalRatio){
    this.finalRatio = finalRatio;
    }
    /**
     * 
     * @return the final gearing of the drivetrain
     */
    public float getFinalRatio(){
    return finalRatio;
    }
}
